package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.entity.GroupAndPartition;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface GroupAndPartitionMapper extends Mapper<GroupAndPartition> {

    public void insertBatch(List<GroupAndPartition> list);

    public void delPartitionAndGroup(@Param("partitionId") String partitionId);

    public List<GroupAndPartition> getGroupAndPartition(GroupAndPartition groupAndPartition);
}